//
//  mapAnnotation.h
//  Paparazzi
//
//  Created by Gongmyung on 2/18/10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <MapKit/MapKit.h>
#import <CoreData/CoreData.h>
#import "Event.h";

@interface MapAnnotation : NSObject <MKAnnotation> {
	CLLocationCoordinate2D coordinate;
    Event *thisEvent;
}

@property (nonatomic, readonly) CLLocationCoordinate2D coordinate;
@property (readonly) Event *thisEvent;

- (NSString *)subtitle;

- (NSString *)title;

-(id)initWithEvent:(Event*)eventData;

@end